home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6c | 61 63 6b 2e 77 65 65 67 |Path: bl|ack.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |g.c.Subj|ect: Re:|
|00000080| 20 52 61 6e 64 6f 6d 20 | 6e 75 6d 62 65 72 73 2e | Random |numbers.|
|00000090| 2e 2e 3f 0a 44 61 74 65 | 3a 20 54 68 75 2c 20 31 |..?.Date|: Thu, 1|
|000000a0| 31 20 4a 61 6e 20 31 39 | 39 36 20 31 33 3a 34 33 |1 Jan 19|96 13:43|
|000000b0| 3a 35 31 20 2d 30 36 30 | 30 0a 4f 72 67 61 6e 69 |:51 -060|0.Organi|
|000000c0| 7a 61 74 69 6f 6e 3a 20 | 55 6e 69 76 65 72 73 69 |zation: |Universi|
|000000d0| 74 79 20 6f 66 20 49 6f | 77 61 2c 20 49 6f 77 61 |ty of Io|wa, Iowa|
|000000e0| 20 43 69 74 79 2c 20 49 | 41 2c 20 55 53 41 0a 44 | City, I|A, USA.D|
|000000f0| 69 73 74 72 69 62 75 74 | 69 6f 6e 3a 20 77 6f 72 |istribut|ion: wor|
|00000100| 6c 64 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |ld.Messa|ge-ID: <|
|00000110| 50 69 6e 65 2e 41 33 32 | 2e 33 2e 39 31 2e 39 36 |Pine.A32|.3.91.96|
|00000120| 30 31 31 31 31 33 33 37 | 34 39 2e 37 33 32 31 33 |01111337|49.73213|
|00000130| 48 2d 31 30 30 30 30 30 | 40 62 6c 61 63 6b 2e 77 |H-100000|@black.w|
|00000140| 65 65 67 2e 75 69 6f 77 | 61 2e 65 64 75 3e 0a 52 |eeg.uiow|a.edu>.R|
|00000150| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 33 30 44 44 |eference|s: <30DD|
|00000160| 42 45 42 31 2e 34 43 34 | 32 40 61 72 75 62 61 2e |BEB1.4C4|2@aruba.|
|00000170| 63 63 69 74 2e 61 72 69 | 7a 6f 6e 61 2e 65 64 75 |ccit.ari|zona.edu|
|00000180| 3e 20 3c 44 4b 44 7a 31 | 76 2e 37 33 36 40 65 73 |> <DKDz1|v.736@es|
|00000190| 6b 69 6d 6f 2e 63 6f 6d | 3e 20 3c 34 64 32 63 36 |kimo.com|> <4d2c6|
|000001a0| 6f 24 68 37 6c 40 6d 61 | 75 72 65 65 6e 2e 74 65 |o$h7l@ma|ureen.te|
|000001b0| 6c 65 70 6f 72 74 2e 63 | 6f 6d 3e 0a 4e 4e 54 50 |leport.c|om>.NNTP|
|000001c0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 62 |-Posting|-Host: b|
|000001d0| 6c 61 63 6b 2e 77 65 65 | 67 2e 75 69 6f 77 61 2e |lack.wee|g.uiowa.|
|000001e0| 65 64 75 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |edu.Mime|-Version|
|000001f0| 3a 20 31 2e 30 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |: 1.0.Co|ntent-Ty|
|00000200| 70 65 3a 20 54 45 58 54 | 2f 50 4c 41 49 4e 3b 20 |pe: TEXT|/PLAIN; |
|00000210| 63 68 61 72 73 65 74 3d | 55 53 2d 41 53 43 49 49 |charset=|US-ASCII|
|00000220| 0a 58 2d 53 65 6e 64 65 | 72 3a 20 72 6f 62 69 6e |.X-Sende|r: robin|
|00000230| 73 6f 6e 40 62 6c 61 63 | 6b 2e 77 65 65 67 2e 75 |son@blac|k.weeg.u|
|00000240| 69 6f 77 61 2e 65 64 75 | 0a 49 6e 2d 52 65 70 6c |iowa.edu|.In-Repl|
|00000250| 79 2d 54 6f 3a 20 3c 34 | 64 32 63 36 6f 24 68 37 |y-To: <4|d2c6o$h7|
|00000260| 6c 40 6d 61 75 72 65 65 | 6e 2e 74 65 6c 65 70 6f |l@mauree|n.telepo|
|00000270| 72 74 2e 63 6f 6d 3e 20 | 0a 0a 4f 6e 20 31 31 20 |rt.com> |..On 11 |
|00000280| 4a 61 6e 20 31 39 39 36 | 2c 20 41 6e 64 72 65 77 |Jan 1996|, Andrew|
|00000290| 20 54 20 4d 69 6c 6c 61 | 72 64 20 77 72 6f 74 65 | T Milla|rd wrote|
|000002a0| 3a 0a 0a 3e 20 6d 41 67 | 20 28 6d 61 67 40 65 73 |:..> mAg| (mag@es|
|000002b0| 6b 69 6d 6f 2e 63 6f 6d | 29 20 77 72 6f 74 65 3a |kimo.com|) wrote:|
|000002c0| 0a 3e 20 3a 20 49 6e 20 | 61 72 74 69 63 6c 65 20 |.> : In |article |
|000002d0| 3c 33 30 44 44 42 45 42 | 31 2e 34 43 34 32 40 61 |<30DDBEB|1.4C42@a|
|000002e0| 72 75 62 61 2e 63 63 69 | 74 2e 61 72 69 7a 6f 6e |ruba.cci|t.arizon|
|000002f0| 61 2e 65 64 75 3e 20 28 | 53 75 6e 2c 20 32 34 20 |a.edu> (|Sun, 24 |
|00000300| 44 65 63 20 31 39 39 35 | 20 31 33 3a 35 37 3a 32 |Dec 1995| 13:57:2|
|00000310| 31 20 2d 30 37 30 30 29 | 2c 20 0a 3e 20 3a 20 76 |1 -0700)|, .> : v|
|00000320| 61 75 67 68 6e 40 61 72 | 75 62 61 2e 63 63 69 74 |aughn@ar|uba.ccit|
|00000330| 2e 61 72 69 7a 6f 6e 61 | 2e 65 64 75 20 73 61 79 |.arizona|.edu say|
|00000340| 73 20 3a 0a 3e 20 3a 20 | 3e 0a 3e 20 3a 20 3e 48 |s :.> : |>.> : >H|
|00000350| 65 6c 6c 6f 2c 0a 3e 20 | 3a 20 3e 54 68 61 6e 6b |ello,.> |: >Thank|
|00000360| 73 20 74 6f 20 74 68 6f | 73 65 20 77 68 6f 20 68 |s to tho|se who h|
|00000370| 65 6c 70 65 64 20 6d 65 | 20 77 69 74 68 20 6d 79 |elped me| with my|
|00000380| 20 6c 61 73 74 20 71 75 | 65 73 74 69 6f 6e 20 6f | last qu|estion o|
|00000390| 6e 20 0a 3e 20 3a 20 3e | 63 61 63 68 65 2d 66 6c |n .> : >|cache-fl|
|000003a0| 75 73 68 69 6e 67 2e 20 | 49 20 72 65 61 6c 69 7a |ushing. |I realiz|
|000003b0| 65 20 49 27 6d 20 73 68 | 6f 77 69 6e 67 20 6d 79 |e I'm sh|owing my|
|000003c0| 20 6e 65 77 6e 65 73 73 | 20 74 6f 20 43 20 62 79 | newness| to C by|
|000003d0| 20 65 76 65 6e 20 61 73 | 6b 69 6e 67 20 0a 3e 20 | even as|king .> |
|000003e0| 3a 20 3e 74 68 69 73 2c | 20 62 75 74 20 49 20 6e |: >this,| but I n|
|000003f0| 65 65 64 20 74 6f 20 67 | 65 74 20 73 6f 6d 65 20 |eed to g|et some |
|00000400| 63 6f 64 65 20 74 68 61 | 74 20 77 69 6c 6c 20 73 |code tha|t will s|
|00000410| 69 6d 70 6c 79 20 67 65 | 6e 65 72 61 74 65 20 61 |imply ge|nerate a|
|00000420| 20 72 61 6e 64 6f 6d 20 | 0a 3e 20 3a 20 3e 69 6e | random |.> : >in|
|00000430| 74 65 67 65 72 20 66 72 | 6f 6d 20 30 20 74 6f 20 |teger fr|om 0 to |
|00000440| 39 2e 20 53 70 65 63 69 | 66 69 63 61 6c 6c 79 2c |9. Speci|fically,|
|00000450| 20 49 20 77 61 6e 74 20 | 74 6f 20 67 65 6e 65 72 | I want |to gener|
|00000460| 61 74 65 20 61 20 73 74 | 72 69 6e 67 20 6f 66 20 |ate a st|ring of |
|00000470| 0a 3e 20 3a 20 3e 66 6f | 75 72 20 72 61 6e 64 6f |.> : >fo|ur rando|
|00000480| 6d 20 64 69 67 69 74 73 | 2e 20 49 20 6b 65 65 70 |m digits|. I keep|
|00000490| 20 67 65 6e 65 72 61 74 | 69 6e 67 20 6e 75 6d 62 | generat|ing numb|
|000004a0| 65 72 73 20 74 68 61 74 | 20 6c 6f 6f 6b 20 73 75 |ers that| look su|
|000004b0| 73 70 69 63 69 6f 75 73 | 6c 79 20 0a 3e 20 3a 20 |spicious|ly .> : |
|000004c0| 3e 6e 6f 6e 2d 72 61 6e | 64 6f 6d 20 73 6f 6d 65 |>non-ran|dom some|
|000004d0| 68 6f 77 20 28 73 65 65 | 64 69 6e 67 20 74 68 65 |how (see|ding the|
|000004e0| 20 72 61 6e 64 6f 6d 20 | 6e 75 6d 62 65 72 20 67 | random |number g|
|000004f0| 65 6e 65 72 61 74 6f 72 | 20 77 69 74 68 20 74 68 |enerator| with th|
|00000500| 65 20 0a 3e 20 3a 20 3e | 63 75 72 72 65 6e 74 20 |e .> : >|current |
|00000510| 74 69 6d 65 29 2e 20 41 | 6e 79 20 69 64 65 61 73 |time). A|ny ideas|
|00000520| 3f 0a 3e 20 3a 20 3e 0a | 3e 20 3a 20 3e 54 68 61 |?.> : >.|> : >Tha|
|00000530| 6e 6b 73 2c 0a 3e 20 3a | 20 3e 42 69 6c 6c 20 56 |nks,.> :| >Bill V|
|00000540| 61 75 67 68 6e 0a 3e 20 | 0a 3e 20 42 69 6c 6c 2c |aughn.> |.> Bill,|
|00000550| 20 74 68 69 73 20 72 6f | 75 74 69 6e 65 20 73 68 | this ro|utine sh|
|00000560| 6f 75 6c 64 20 64 6f 20 | 66 69 6e 65 3a 0a 3e 20 |ould do |fine:.> |
|00000570| 0a 3e 20 23 69 6e 63 6c | 75 64 65 20 3c 73 74 64 |.> #incl|ude <std|
|00000580| 69 6f 2e 68 3e 0a 3e 20 | 23 69 6e 63 6c 75 64 65 |io.h>.> |#include|
|00000590| 20 3c 6d 61 74 68 2e 68 | 3e 0a 3e 20 0a 3e 20 76 | <math.h|>.> .> v|
|000005a0| 6f 69 64 20 6d 61 69 6e | 28 76 6f 69 64 29 0a 0a |oid main|(void)..|
|000005b0| 20 20 6d 61 69 6e 28 29 | 20 72 65 74 75 72 6e 73 | main()| returns|
|000005c0| 20 69 6e 74 20 69 6e 20 | 41 4e 53 49 20 43 2e 0a | int in |ANSI C..|
|000005d0| 0a 3e 20 7b 0a 3e 20 09 | 69 6e 74 20 69 43 6f 75 |.> {.> .|int iCou|
|000005e0| 6e 74 2c 20 64 69 67 69 | 74 5b 34 5d 3b 0a 3e 20 |nt, digi|t[4];.> |
|000005f0| 0a 3e 20 09 73 72 61 6e | 64 28 74 69 6d 65 28 29 |.> .sran|d(time()|
|00000600| 29 3b 20 20 20 2f 2a 20 | 20 53 65 65 64 73 20 72 |); /* | Seeds r|
|00000610| 61 6e 64 6f 6d 20 6e 75 | 6d 62 65 72 73 20 20 2a |andom nu|mbers *|
|00000620| 2f 09 0a 0a 20 20 4f 6e | 6c 79 20 69 66 20 79 6f |/... On|ly if yo|
|00000630| 75 20 23 69 6e 63 6c 75 | 64 65 20 3c 74 69 6d 65 |u #inclu|de <time|
|00000640| 2e 68 3e 2e 0a 0a 3e 20 | 09 66 6f 72 28 69 43 6f |.h>...> |.for(iCo|
|00000650| 75 6e 74 20 3d 20 30 3b | 20 69 43 6f 75 6e 74 20 |unt = 0;| iCount |
|00000660| 3c 3d 20 33 3b 20 69 43 | 6f 75 6e 74 2b 2b 29 0a |<= 3; iC|ount++).|
|00000670| 3e 20 09 7b 0a 3e 20 09 | 09 64 69 67 69 74 5b 69 |> .{.> .|.digit[i|
|00000680| 43 6f 75 6e 74 5d 20 3d | 20 61 62 73 28 72 61 6e |Count] =| abs(ran|
|00000690| 64 28 29 20 25 20 31 30 | 29 3b 0a 0a 20 20 72 61 |d() % 10|);.. ra|
|000006a0| 6e 64 28 29 20 73 68 6f | 75 6c 64 20 6e 65 76 65 |nd() sho|uld neve|
|000006b0| 72 20 72 65 74 75 72 6e | 20 6e 65 67 61 74 69 76 |r return| negativ|
|000006c0| 65 20 6e 75 6d 62 65 72 | 73 2c 20 73 6f 20 72 61 |e number|s, so ra|
|000006d0| 6e 64 28 29 20 25 20 31 | 30 20 77 69 6c 6c 20 6e |nd() % 1|0 will n|
|000006e0| 65 76 65 72 20 62 65 20 | 0a 6e 65 67 61 74 69 76 |ever be |.negativ|
|000006f0| 65 2c 20 61 6e 64 20 74 | 68 65 72 65 27 73 20 6e |e, and t|here's n|
|00000700| 6f 20 72 65 61 73 6f 6e | 20 74 6f 20 63 61 6c 6c |o reason| to call|
|00000710| 20 61 62 73 28 29 20 6f | 72 20 23 69 6e 63 6c 75 | abs() o|r #inclu|
|00000720| 64 65 20 3c 6d 61 74 68 | 2e 68 3e 2e 20 20 0a 49 |de <math|.h>. .I|
|00000730| 6e 63 69 64 65 6e 74 61 | 6c 6c 79 2c 20 75 73 69 |ncidenta|lly, usi|
|00000740| 6e 67 20 74 68 65 20 6d | 6f 64 75 6c 75 73 20 6f |ng the m|odulus o|
|00000750| 70 65 72 61 74 6f 72 20 | 74 6f 20 70 72 6f 64 75 |perator |to produ|
|00000760| 63 65 20 72 61 6e 64 6f | 6d 20 6e 75 6d 62 65 72 |ce rando|m number|
|00000770| 73 20 69 6e 20 61 20 0a | 67 69 76 65 6e 20 72 61 |s in a .|given ra|
|00000780| 6e 67 65 20 63 61 6e 20 | 72 65 73 75 6c 74 20 69 |nge can |result i|
|00000790| 6e 20 64 65 63 69 64 65 | 64 6c 79 20 6e 6f 6e 2d |n decide|dly non-|
|000007a0| 72 61 6e 64 6f 6d 20 73 | 65 71 75 65 6e 63 65 73 |random s|equences|
|000007b0| 20 69 66 20 72 61 6e 64 | 28 29 27 73 20 0a 61 6c | if rand|()'s .al|
|000007c0| 67 6f 72 69 74 68 6d 20 | 69 73 6e 27 74 20 76 65 |gorithm |isn't ve|
|000007d0| 72 79 20 67 6f 6f 64 20 | 28 77 68 69 63 68 20 69 |ry good |(which i|
|000007e0| 73 20 74 72 75 65 20 66 | 61 69 72 6c 79 20 6f 66 |s true f|airly of|
|000007f0| 74 65 6e 29 2e 20 20 54 | 68 65 20 46 41 51 20 68 |ten). T|he FAQ h|
|00000800| 61 73 20 61 20 67 6f 6f | 64 20 0a 64 69 73 63 75 |as a goo|d .discu|
|00000810| 73 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 70 72 |ssion of| this pr|
|00000820| 6f 62 6c 65 6d 2e 0a 0a | 3e 20 09 7d 0a 0a 20 20 |oblem...|> .}.. |
|00000830| 20 20 72 65 74 75 72 6e | 20 30 3b 0a 0a 3e 20 7d | return| 0;..> }|
|00000840| 0a 3e 20 0a 3e 20 09 49 | 66 20 74 68 69 73 20 64 |.> .> .I|f this d|
|00000850| 6f 65 73 6e 27 74 20 77 | 6f 72 6b 2c 20 74 68 65 |oesn't w|ork, the|
|00000860| 6e 20 74 68 65 20 47 6f | 64 73 20 61 72 65 20 6a |n the Go|ds are j|
|00000870| 75 73 74 20 61 6e 67 72 | 79 20 61 74 20 79 6f 75 |ust angr|y at you|
|00000880| 2e 20 20 3a 29 0a 3e 20 | 20 20 20 20 20 20 20 20 |. :).> | |
|00000890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4e 65 | | Ne|
|000008b0| 77 62 69 65 2d 6d 61 6e | 20 42 6a 6f 72 6e 75 73 |wbie-man| Bjornus|
|000008c0| 0a 0a 2f 2a 2a 4a 61 6d | 65 73 20 52 6f 62 69 6e |../**Jam|es Robin|
|000008d0| 73 6f 6e 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |son*****|********|
|000008e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 20 20 20 20 20 20 |********|** |
|000008f0| 20 20 20 20 20 20 0a 20 | 20 22 49 66 20 61 20 66 | . | "If a f|
|00000900| 61 74 61 6c 20 65 72 72 | 6f 72 20 6f 63 63 75 72 |atal err|or occur|
|00000910| 73 2c 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 73 |s, the p|rogram s|
|00000920| 68 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 61 6c 6c |hould no|t be all|
|00000930| 6f 77 65 64 20 74 6f 20 | 63 6f 6e 74 69 6e 75 65 |owed to |continue|
|00000940| 2e 22 0a 20 2d 2d 20 4f | 72 61 63 6c 65 20 50 72 |.". -- O|racle Pr|
|00000950| 6f 2a 43 20 55 73 65 72 | 27 73 20 47 75 69 64 65 |o*C User|'s Guide|
|00000960| 20 20 20 20 20 20 20 20 | 20 2a 2a 2a 2a 2a 2a 2a | | *******|
|00000970| 2a 2a 2a 2a 2a 2a 6a 61 | 6d 65 73 2d 72 6f 62 69 |******ja|mes-robi|
|00000980| 6e 73 6f 6e 40 75 69 6f | 77 61 2e 65 64 75 2a 2a |nson@uio|wa.edu**|
|00000990| 2f 0a | |/. | |
+--------+-------------------------+-------------------------+--------+--------+